<?php
// #region demo
$link = mysqli_connect('127.0.0.1', 'root', 'root', 'test');

if ($link === false) {
    exit("Link connection failed.");
}

$result = mysqli_query($link, "DELETE FROM `users` WHERE `id` = 3");

if ($result === true) {
    echo "Deleted";
}
// #endregion demo